<div id="page">
    <?php print render($page['help']); ?>
    <header class="header" id="header" role="banner">
        <div class="wrapper">

            <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" class="header__logo" id="logo">
                <img src="/<?php echo path_to_theme();?>/logo-stylebook.png" alt="<?php print t('Home'); ?>" class="header__logo-image" />
            </a>

            <?php print render($page['header']); ?>
            <?php print render($page['navigation']); ?>

        </div>
    </header>
    <?php print $messages; ?>

    <?php if ($title): ?>
    <h1 class="page__title title element-invisible" id="page-title"><?php print $title; ?></h1>
    <?php endif; ?>

    <?php print render($page['highlighted']); ?>

    <div id="main">
        <div id="content" class="column region-content" role="main">
            <article class="app" id="stylebook-app" ng-app="stylebook" ng-controller="stylebookController">
                <div class="wrapper">
                    <?php print $breadcrumb; ?>
                </div>
                <div class="section-head">
                    <div class="wrapper">
                        <h1 class="title">Style Item</h1>
                        <h2 class="view-count"></h2>
                    </div>
                </div>

                <div class="section-left">
                    <div class="wrapper">
                        <?php print render($title_prefix); ?>
                        <?php print render($title_suffix); ?>
                        <?php print render($tabs); ?>
                        <?php if ($action_links): ?>
                        <ul class="action-links"><?php print render($action_links); ?></ul>
                        <?php endif; ?>

                        <?php print render($page['content']); ?>
                    </div>
                </div>

                <div class="section-right">
                    <div class="wrapper">
                        <?php
                            $sidebar_first  = render($page['sidebar_first']);
                            if ($sidebar_first) {
                                print $sidebar_first;
                            }
                        ?>
                    </div>
                </div>
            </article>
        </div>
    </div>
    <?php //print render($page['below_content']); ?>
    <?php print render($page['bottom']); ?>
    <?php print render($page['footer']); ?>

</div>

<?php print render($page['popup']); ?>
<?php print render($page['overlay']); ?>
<?php print render($page['hidden']); ?>
